import java.util.Scanner;

public class Operators_Exercise1 {
    public static void main(String[] args) {
        //计算速度
        double initial_velocity,acceleration,time;
        Scanner sc = new Scanner(System.in);
        System.out.println("Enter the Initial velocity :");
        initial_velocity = sc.nextInt();
        System.out.println("Enter the acceleration :");
        acceleration = sc.nextInt();
        System.out.println("Enter the time :");
        time = sc.nextInt();
        double distance = initial_velocity * time + (acceleration * time * time)/2;
        System.out.println("The Distance is :" + distance + "m");
    }

}
